
import java.io.PrintWriter;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author dttung
 */
public class ServletUtil {
    public static void printFistHalf(PrintWriter out)
    {
        out.println("<!DOCTYPE html>\n" +
"<html xmlns=\"http://www.w3.org/1999/xhtml\">\n" +
"<head>\n" +
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n" +
"<title>Tathy YFF League & Cup 2013</title>\n" +
"<link href=\"style/style1.css\" rel=\"stylesheet\" type=\"text/css\" />\n" +
"<link rel=\"shortcut icon\" href=\"favicon.ico\" >" +
"</head>\n" +
"\n" +
"<body>\n" +
"<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n" +
"  <tr>\n" +
"    <td class=\"shadow_left\">&nbsp;</td>\n" +
"    <td class=\"header_column\">\n" +
"	<table width=\"100%\" border=\"0\" cellspacing=\"10\" cellpadding=\"0\">\n" +
"      <tr>\n" +
"        <td class=\"logo_area\">Tathy YFF League & Cup 2013</td>\n" +
"        <td width=\"300\">\n" +
"          <!--form id=\"form1\" name=\"form1\" method=\"post\" action=\"\">\n" +
"		  	Search the website <br />\n" +
"            <input name=\"search_text\" type=\"text\" id=\"search_text\" />\n" +
"            <input type=\"submit\" name=\"Submit\" value=\"Search\" />\n" +
"          </form-->\n" +
"		  By savapain@tathy\n" +
"          </td>\n" +
"      </tr>\n" +
"    </table></td>\n" +
"    <td class=\"shadow_right\">&nbsp;</td>\n" +
"  </tr>\n" +
"  <tr>\n" +
"    <td class=\"horizontal_column\">&nbsp;</td>\n" +
"    <td class=\"horizontal_center\"><table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"linkcontainer\">\n" +
"      <tr>\n" +
"        <td><div class=\"navigation\"><a href=\"ShowMatch?tours=1\" class=\"main_link\">Lịch đấu / Kết quả</a></div></td>\n" +
"        <td><div class=\"navigation\"><a href=\"ShowTable\" class=\"main_link\">Bảng xếp hạng</a></div></td>\n" +
"        <td><div class=\"navigation\"><a href=\"ShowCup\" class=\"main_link\">Cup</a></div></td>\n" +
"        <td><div class=\"navigation\"><a href=\"ShowTml\" class=\"main_link\">Tờ Mờ Lờ</a></div></td>\n" +
"        <td><div class=\"navigation\"><a href=\"HallofFame\" class=\"main_link\">Hôn Ợp Phêm</a></div></td>\n" +
"      </tr>\n" +
"    </table></td>\n" +
"    <td class=\"horizontal_column\">&nbsp;</td>\n" +
"  </tr>\n" +
"  <tr>\n" +
"    <td class=\"shadow_left\">&nbsp;</td>\n" +
"    <td class=\"below_header\">Chúc mừng đội Nhong Nheo Utd giành điểm cao nhất tuần 4 của Tathy League và đội savapain - TungDauGau giành giải nhất tuần 4 TML</td>\n" +
"    <td class=\"shadow_right\">&nbsp;</td>\n" +
"  </tr>\n" +
"  <tr>\n" +
"    <td class=\"shadow_left\">&nbsp;</td>\n" +
"    <td class=\"main_content_box\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n" +
"      <tr> <!-- First half -->\n" +
"         <td class=\"body_content\">");
    }
    public static void printSecondHalf(PrintWriter out)
    {
        out.println("	</td> <!-- Scond half -->\n" +
                    "      </tr> \n" +
                    "    </table></td>\n" +
                    "    <td class=\"shadow_right\">&nbsp;</td>\n" +
                    "  </tr>\n" +
                    "  <tr>\n" +
                    "    <td class=\"shadow_left\">&nbsp;</td>\n" +
                    "    <td class=\"middle_spacer\"><div class=\"bottom_content\"></div></td>\n" +
                    "    <td class=\"shadow_right\">&nbsp;</td>\n" +
                    "  </tr>\n" +
                    "  <tr>\n" +
                    "    <td class=\"shadow_left\">&nbsp;</td>\n" +
                    "    <td class=\"bottom_link_container\"><p><a href=\"http://sports.yahoo.com/fantasy/premier-league/leagues?join=286&pass=q2guht\" class=\"bottom_link\">Tham gia Tathy Group</a> | <a href=\"http://www.tathy.com/thanglong/showthread.php?t=28920&goto=lastpost\" class=\"bottom_link\">Chém gió trên tathy</a> | <a href=\"http://bit.ly/tathy1314\" class=\"bottom_link\">Theo dõi kết quả (google doc)</a> </p>\n" +
                    "    <p>Design template by bprizze\n" +
                    "<br/></p>"                +
                    "<div align='center'><a href='http://www.hit-counts.com'><img src='http://www.hit-counts.com/counter.php?t=MTI3Mzk2MQ==' border='0' alt='Visitor Counter'></a><BR><a href='http://www.hit-counts.com'>Visitor Counter</a></div>" +
                    "    </td>\n" +
                    "    <td class=\"shadow_right\">&nbsp</td>\n" +
                    "  </tr>\n" +
                    "</table>\n" +
                    "</body>\n" +
                    "</html>");
    }
    
}
